package com.example.model.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "User", description="管理员信息表")
public class User {
    @Schema(description = "更新时间")
    @TableId(type = IdType.AUTO)
    private Integer	userId;

    @Schema(description = "更新时间")
    private String userName;

    @Schema(description = "更新时间")
    private String password;

    @Schema(description = "更新时间")
    private String userSalt;

    @Schema(description = "更新时间")
    private String nickName;

    @Schema(description = "更新时间")
    private String userImage;

    @Schema(description = "更新时间")
    private String userPhone;

    @Schema(description = "更新时间")
    private Integer userStatus;

    @Schema(description = "更新时间")
    private String userEmail;

    @Schema(description = "更新时间")
    private Date loginTime;

    @Schema(description = "更新时间")
    private Date createdTime;
}
